//
//  MZmoreTableViewCell.m
//  民族文化宫
//
//  Created by 何锦坤 on 14-8-2.
//  Copyright (c) 2014年 WANG CUNRUI. All rights reserved.
//

#import "MZmoreTableViewCell.h"

@implementation MZmoreTableViewCell

- (void)layoutSubviews
{
    [super layoutSubviews];
    [self.imageView setFrame:CGRectMake(0, 0, 320, 200)];
    [self.contentView addSubview:self.imageView];
    [self.detailTextLabel setFrame:CGRectMake(0, 220, 320, 15)];
    [self.detailTextLabel setTextColor:[UIColor blackColor]];
    [self.textLabel setFrame:CGRectMake(0, 200, 320, 20)];
    self.textLabel.font = [UIFont boldSystemFontOfSize:15];
    [self.textLabel setTextColor:[UIColor blackColor]];
    [self.contentView addSubview:self.detailTextLabel];
    [self.contentView addSubview:self.textLabel];
}

- (id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:UITableViewCellStyleSubtitle reuseIdentifier:reuseIdentifier];
    
    if (self) {
        // 取消显示选中颜色
        [self setSelectionStyle:UITableViewCellSelectionStyleNone];
        
//        [self setAccessoryType:UITableViewCellAccessoryDisclosureIndicator];
    }
    
    return self;
}


- (void)setSelected:(BOOL)selected animated:(BOOL)animated
{
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
